package cz.semjob.linguistic.data;

import java.util.ArrayList;
import java.util.List;

public class LinguisticSentence {
	
	private final List<LinguisticWord> words;
	
	
	
	public LinguisticSentence() {
		super();
		this.words = new ArrayList<LinguisticWord>();
	}


	public void addWord(LinguisticWord word) {
		words.add(word);
	}


	public List<LinguisticWord> getWords() {
		return words;
	}


	@Override
	public String toString() {
		return "LinguisticSentence [words=" + words + "]";
	}

}
